export interface SizeInfo {
  width: number;
  height: number;
  offsetWidth: number;
  offsetHeight: number;
}

export type OnResize = (size: SizeInfo, element: HTMLElement) => void;
export interface YmResizeObserverProps {
  prefixCls?: string;
  children?: React.ReactElement;
  onResize?: OnResize;
  rootClassName?: string;
  rootStyle?: React.CSSProperties;
  isFullParent?: boolean;
}
